import Input from './input';
import TextArea from './TextArea';
import Search from './Search';
import Password from './Password';
import DropdownInput from './Dropdown';

type CompoundedInput = typeof Input & {
  TextArea: typeof TextArea;
  Search: typeof Search;
  Password: typeof Password;
  Dropdown: typeof DropdownInput;
};

const CompInput = Input as CompoundedInput;
CompInput.TextArea = TextArea;
CompInput.Search = Search;
CompInput.Password = Password;
CompInput.Dropdown = DropdownInput;

export default CompInput; 